/**
 * @Date 2023-02-04 17:19:26
 * @Remark
 */

// react
import { lazy } from "react";
// lib
import { AccountBookOutlined } from "@ant-design/icons";
// config
// interface
// 其它

const routeModule: AppRouteItem = {
  name: "借还管理",
  path: "borrow",
  icon: AccountBookOutlined,
  code:"borrow",
  children: [
    {
      name: "借阅管理",
      path: "borrow/borrow-record",
      component: lazy(() => import("../../app/Borrow/BorrowRecord")),
      code:"borrow:list"
    },
    {
      name: "出库单管理",
      path: "borrow/borrow-order",
      component: lazy(() => import("../../app/Borrow/OutRecord")),
      code:"borrow:outList"
    },
    {
      name: "预约记录",
      path: "borrow/order-record",
      component: lazy(() => import("../../app/Borrow/OrderRecord")),
      code:"order:list"
    },
    {
      name: "还书记录",
      path: "borrow/return-record",
      component: lazy(() => import("../../app/Borrow/ReturnRecord")),
      code:"borrow:returnList"
    },
  ],
};

export default routeModule;
